
sqlite_path = /home/kishore/work/sqlite/sqlite

objects = mediadb.o

mediadb : $(objects)
	gcc -o $@ $(objects) -lsqlite3 -L$(sqlite_path)/lib

mediadb.o : mediadb.h mediadb.c
	gcc -c mediadb.c -I$(sqlite_path)/include

.PHONY : clean
clean :
	rm mediadb $(objects)
